package com.zuipin.vo;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/**
 * @description : 新增红包规则Vo、
 * @author : xujinding
 * @date : 2017年4月26日 下午1:43:36
 */
public class AddRedPacketRuleVo {
	
	private Long		id;					// ID
	
	private String		showName;			// 名称
	
	private String		showType;			// ORDER_DISCOUNT:订单打折券,SINGLE_PRO_DISCOUNT:单品打折券,FREE_POSTAGE:免邮券,CASH:现金券,DELIVERY_NOTE:提货券,FULL_CAT:满品类总额免邮,FULL_TEA_SET:满茶具总额免邮,FULL_TEA_LEAF:满茶叶总额免邮,FULL_PRO:满商品总额免邮,FULL_CAT_SELF:满品类总额免邮(自营),FULL_TEA_SET_SELF:满茶具总额免邮(自营),FULL_TEA_LEAF_SELF:满茶叶总额免邮(自营),FULL_PRO_SELF:满商品总额免邮(自营),SUB_AMOUNT:减金额,GIVE_INTEGRAL:送积分,GIVE_BACK_BALANCE:送返现余额,GIVE_TOPUP_BALANCE:送充值余额,GIVE_RED_PACKET:送红包,GIVE_PRO:送商品,GIVE_DRAW_NUM:送抽奖次数,SPECIAL_PRICE:特价
	
	private BigDecimal	amount;				// 面额
	
	private BigDecimal	discount;			// 折扣
	
	private String		device;				// 设备,pc,wap...
	
	private Short		validPeriodType;	// 有效期类型,1:表示开始及结束时间范围,2:表示天数
	
	private String		startTime;			// 开始时间
	
	private String		endTime;			// 结束时间
	
	private Integer		validDays;			// 有效天数
	
	private Integer		createNum;			// 创建数量
	
	private Integer		useNum;				// 使用数量
	
	private BigDecimal	fullAmountUse;		// 满额使用
	
	private Short		isLimitGetNum;		// 是否限制领取数量,1是,0否
	
	private Integer		limitGetNum;		// 限制领取数量
	
	private String		limitMemberLevel;	// 限制会员等级
	
	private String		startDrawTime;		// 开始领取时间
	
	private String		endDrawTime;		// 结束领取时间
	
	private String		proTypeLimit;		// 商品类型限制,不限制：NO_LIMIT， 限制商品:LIMIT_PRO,限制品类:LIMIT_CAT,限制品牌:LIMIT_BRAND
	
	private String		brandType;			// 品牌类型
	
	private String		catType;			// 品类类型
	
	private String		sku;				// SKU
	
	private Short		isBrandJoin;		// 品牌类型是否参与,1是,0否
	
	private Short		isCatJoin;			// 品类类型是否参与,1是,0否
	
	private Short		isSkuJoin;			// SKU是否参与,1是,0否,2不限制
	
	private String		limitExplain;		// 限制说明
	
	private String		remark;				// 备注
	
	private Long		createId;			// 创建者
	
	private Long		updateId;			// 创建者
	
	private Long		sysId;				// 系统ID
	
	private String		drawUrl;			// 领券链接
	
	private String		serialNumber;		// 序列号
	
	private String		status;				// 状态
	
	@ApiModelProperty(value = "领券链接")
	public String getDrawUrl() {
		return drawUrl;
	}
	
	public void setDrawUrl(String drawUrl) {
		this.drawUrl = drawUrl;
	}
	
	@ApiModelProperty(value = "序列号")
	public String getSerialNumber() {
		return serialNumber;
	}
	
	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}
	
	@ApiModelProperty(value = "更新者，修改时必传")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "Id有传就是修改，，否则就是新增")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public void setShowName(String showName) {
		this.showName = showName;
	}
	
	@ApiModelProperty(value = "红包名称", required = true)
	public String getShowName() {
		return this.showName;
	}
	
	public void setShowType(String showType) {
		this.showType = showType;
	}
	
	@ApiModelProperty(value = "红包类型--ORDER_DISCOUNT:订单打折券,SINGLE_PRO_DISCOUNT:单品打折券,CASH:现金券", required = true)
	public String getShowType() {
		return this.showType;
	}
	
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	@ApiModelProperty(value = "红包面额--现金券必传")
	public BigDecimal getAmount() {
		return this.amount;
	}
	
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	
	@ApiModelProperty(value = "红包折扣--折扣券必传")
	public BigDecimal getDiscount() {
		
		return this.discount;
	}
	
	public void setDevice(String device) {
		this.device = device;
	}
	
	@ApiModelProperty(value = "平台限制  PC|WAP|PC&WAP", required = true)
	public String getDevice() {
		return this.device;
	}
	
	public void setValidPeriodType(Short validPeriodType) {
		this.validPeriodType = validPeriodType;
	}
	
	@ApiModelProperty(value = "有效期类型,1:表示固定时间范围,2:表示领取后的时间天数", required = true)
	public Short getValidPeriodType() {
		return this.validPeriodType;
	}
	
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	@ApiModelProperty(value = "有效期--开始时间   类型是范围就必传")
	public String getStartTime() {
		return this.startTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	@ApiModelProperty(value = "有效期--结束时间  类型是范围就必传")
	public String getEndTime() {
		return this.endTime;
	}
	
	public void setValidDays(Integer validDays) {
		this.validDays = validDays;
	}
	
	@ApiModelProperty(value = "有效期天数--类型是领取后的时间天数就必传")
	public Integer getValidDays() {
		return this.validDays;
	}
	
	public void setCreateNum(Integer createNum) {
		this.createNum = createNum;
	}
	
	@ApiModelProperty(value = "红包创建的数量", required = true)
	public Integer getCreateNum() {
		return this.createNum;
	}
	
	public void setUseNum(Integer useNum) {
		this.useNum = useNum;
	}
	
	@ApiModelProperty(value = "使用的数量")
	public Integer getUseNum() {
		return this.useNum;
	}
	
	public void setFullAmountUse(BigDecimal fullAmountUse) {
		this.fullAmountUse = fullAmountUse;
	}
	
	@ApiModelProperty(value = "商品金额限制满多少使用", required = true)
	public BigDecimal getFullAmountUse() {
		return this.fullAmountUse;
	}
	
	public void setIsLimitGetNum(Short isLimitGetNum) {
		this.isLimitGetNum = isLimitGetNum;
	}
	
	@ApiModelProperty(value = "是否限制领取数量,1是,0否", required = true)
	public Short getIsLimitGetNum() {
		return this.isLimitGetNum;
	}
	
	public void setLimitGetNum(Integer limitGetNum) {
		this.limitGetNum = limitGetNum;
	}
	
	@ApiModelProperty(value = "限制领取的数量--限制限领时必传")
	public Integer getLimitGetNum() {
		return this.limitGetNum;
	}
	
	public void setLimitMemberLevel(String limitMemberLevel) {
		this.limitMemberLevel = limitMemberLevel;
	}
	
	@ApiModelProperty(value = "限制会员等级", required = true)
	public String getLimitMemberLevel() {
		return this.limitMemberLevel;
	}
	
	public void setStartDrawTime(String startDrawTime) {
		this.startDrawTime = startDrawTime;
	}
	
	@ApiModelProperty(value = "开始领取时间", required = true)
	public String getStartDrawTime() {
		return this.startDrawTime;
	}
	
	public void setEndDrawTime(String endDrawTime) {
		this.endDrawTime = endDrawTime;
	}
	
	@ApiModelProperty(value = "结束领取时间", required = true)
	public String getEndDrawTime() {
		return this.endDrawTime;
	}
	
	public void setProTypeLimit(String proTypeLimit) {
		this.proTypeLimit = proTypeLimit;
	}
	
	@ApiModelProperty(value = "商品类型限制,不限制：NO_LIMIT， 限制:LIMIT_PRO", required = true)
	public String getProTypeLimit() {
		return this.proTypeLimit;
	}
	
	public void setBrandType(String brandType) {
		this.brandType = brandType;
	}
	
	@ApiModelProperty(value = "品牌类型")
	public String getBrandType() {
		return this.brandType;
	}
	
	public void setCatType(String catType) {
		this.catType = catType;
	}
	
	@ApiModelProperty(value = "品类类型")
	public String getCatType() {
		return this.catType;
	}
	
	public void setSku(String sku) {
		this.sku = sku;
	}
	
	@ApiModelProperty(value = "sku")
	public String getSku() {
		return this.sku;
	}
	
	public void setIsBrandJoin(Short isBrandJoin) {
		this.isBrandJoin = isBrandJoin;
	}
	
	@ApiModelProperty(value = "品牌类型是否参与,1是,0否")
	public Short getIsBrandJoin() {
		return this.isBrandJoin;
	}
	
	public void setIsCatJoin(Short isCatJoin) {
		this.isCatJoin = isCatJoin;
	}
	
	@ApiModelProperty(value = "	品类类型是否参与,1是,0否")
	public Short getIsCatJoin() {
		return this.isCatJoin;
	}
	
	public void setIsSkuJoin(Short isSkuJoin) {
		this.isSkuJoin = isSkuJoin;
	}
	
	@ApiModelProperty(value = "SKU是否参与,,1是,0否,2不限制")
	public Short getIsSkuJoin() {
		return this.isSkuJoin;
	}
	
	public void setLimitExplain(String limitExplain) {
		this.limitExplain = limitExplain;
	}
	
	@ApiModelProperty(value = "限制说明")
	public String getLimitExplain() {
		return this.limitExplain;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@ApiModelProperty(value = "红包备注")
	public String getRemark() {
		return this.remark;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "系统Id", required = true)
	public Long getSysId() {
		return this.sysId;
	}
	
	@ApiModelProperty(value = "创建者Id--新增必传")
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "规则状态--展示用 NOT_ACTIVATE:未激活,ALR_ENABLE:已启用,ALR_DISABLE:已禁用")
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
}